package com.rahman.doctor;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.*;

public class DoctorActivity extends Activity {
    /** Called when the activity is first created. */
	
	ImageView click;
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        click = (ImageView) findViewById(R.id.splashscreen);       
        startImageViewListener();
        
    }
    
    public void startImageViewListener() 
    {
		click.setOnClickListener(new View.OnClickListener() 
		{
			public void onClick(View view) 
			{
		        Intent i = new Intent(DoctorActivity.this, Prescription.class);
		        startActivity(i);
		      }
		});
    }
}